import React, { Component } from 'react';
import Footer from '../../components/Footer'
import Routerview from '../../router/routerView';
class Index extends Component {
  render() {
    const { routes } = this.props
    return (
      <div>
        <div style={{ height: '94vh', overflow: 'scroll' }}>
          <Routerview routes={ routes }></Routerview>
        </div>
        <Footer routes={ routes }></Footer>
      </div>
    );
  }
}

export default Index;
